<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2021/11/17
 * Time: 13:26
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

declare(strict_types=1);

namespace app\api\controller;

use app\BaseController;
use EasyWeChat\Factory;
use think\App;

class Base extends BaseController
{
    protected $mini_app ;
    public function __construct(App $app)
    {
        parent::__construct($app);
        $this->mini_app = Factory::miniProgram(config('wechat.mini'));
    }
}